//
//  TomModel.m
//  汤姆猫
//
//  Created by student on 16/2/20.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "TomModel.h"

@implementation TomModel

-(instancetype)initWithDict:(NSDictionary *) dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+(instancetype)tomModelWithDict:(NSDictionary *)dic
{
    return [[self alloc] initWithDict:dic];
}
@end
